package com.wizard.moremall.project;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(scanBasePackages = "com.wizard.moremall")//扫描整个大项目下的所有包，以使用其他子模块（common，web）中的代码
@MapperScan(basePackages = "com.wizard.moremall.*.mapper")//扫描所有的mapper包
public class ProjectApplication {
    public static void main(String[] args) {
        //设置关闭热部署
        System.setProperty("spring.devtools.restart.enabled","false");
        SpringApplication.run(ProjectApplication.class, args);
    }

}
